home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 11
/
Mac Magazin and MacEasy Magazine CD - Issue 11.iso
/
Sharewarebibliothek
/
Entwickler
/
nShell-Pro
/
bin
/
match
/
match.rsrc
/
TEXT_16000_man general.txt
< prev
next >
Wrap
Text File
|
1994-11-27
|
599b
|
28 lines
NAME
match - type matching lines to standard output
SYNOPSIS
match -p 'pattern' [file...]
DESCRIPTION
This is a grep-like command. Patterns are specified in shell-sytle wildcards, so a pattern of:
yak - will match all lines containing "yak"
foo*bar - will match lines containing "foo" followed by "bar".
[a-c]oo - will match lines containing "aoo", "boo" or "coo".
NOTE: It is important to put single quotes around patterns containing wildcards, so that the shell will not match them with file names.
RETURN CODES
<0 Error
0 Pattern found at least once
1 Pattern not found
SEE ALSO
grep